import City from '../pages/City/index'
import Home from '../pages/Home/index'
import {createBrowserRouter} from 'react-router-dom'

const router = createBrowserRouter([
  {
    path: '/',
    element: <Home />
  },
  {
    path: '/city/:type',
    element: <City />
  }
])  
export default router